//
//  FMDBDataHandler.h
//  A段项目
//
//  Created by dllo on 16/3/7.
//  Copyright © 2016年 Scott. All rights reserved.
//

#import <Foundation/Foundation.h>

@class Person;
@interface FMDBDataHandler : NSObject

+(instancetype)shareDataBaseHandler;

- (void)openDB;

- (void)createTable;

- (void)insertInfo:(Person *)per;

- (void)updateInfo:(Person *)per :(NSString *)address;

- (NSArray *)selectedInfo:(NSUInteger)number;

- (NSArray *)selectedForNanme:(NSString *)name;

- (NSArray *)selectedForImage:(NSData *)data;

- (void)deleteImage:(NSString *)name;
@end
